Skip to content

fix(core): do not prehash tasks that hash their absolute cwd - #38047

Open
AgentEnder wants to merge 2 commits into
masterfrom
claude/prehash-absolute-cwd-dlbz2x
Open

AgentEnder wants to merge 2 commits into
masterfrom
claude/prehash-absolute-cwd-dlbz2x

Conversation

@AgentEnder

@AgentEnder AgentEnder commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Under distribution a task runs on an agent whose cwd differs from the
coordinator's, so a hash of the coordinator's absolute cwd is wrong. Defer
those tasks alongside the ones that read upstream outputs so they hash where
they run.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_017xeeKEZg8Yee41CYFTS768

Fixes: NXC-5310

Under distribution a task runs on an agent whose cwd differs from the
coordinator's, so a hash of the coordinator's absolute cwd is wrong. Defer
those tasks alongside the ones that read upstream outputs so they hash where
they run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017xeeKEZg8Yee41CYFTS768
@AgentEnder
AgentEnder requested a review from a team as a code owner November 26, 2026 00:03
@AgentEnder
AgentEnder requested a review from MaxKless November 26, 2026 00:03
@netlify

netlify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 5b2f46a
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/6b0785191dfbf7a5a1ca2efc
😎 Deploy Preview https://deploy-preview-38047--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for nx-dev ready!

Name Link
🔨 Latest commit 5b2f46a
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/6b0785199de6477d626a5536
😎 Deploy Preview https://deploy-preview-38047--nx-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nx-cloud-staging

nx-cloud-staging Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

View your CI Pipeline Execution ↗ for commit 5b2f46a

Command Status Duration Result
nx affected --targets=lint,oxlint,test,build,e2... ✅ Succeeded 12m 28s View ↗
nx run astro-docs:validate-package-links ✅ Succeeded 6m 31s View ↗
nx-cloud record -- pnpm nx-cloud conformance:check ✅ Succeeded 33s View ↗
nx build workspace-plugin ✅ Succeeded <1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 12s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 4s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 1s View ↗

☁️ Nx Cloud last updated this comment at 2026-11-26 01:16:39 UTC

@nx-cloud-staging nx-cloud-staging Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nx Cloud has identified a flaky task in your failed CI:

🔂 Since the failure was identified as flaky, we triggered a CI rerun by adding an empty commit to this branch.

Nx Cloud View detailed reasoning in Nx Cloud ↗


🎓 Learn more about Self-Healing CI on nx.dev

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants